package com.itheima.service;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {

    //根据手机号查询用户
    public Member findByTelephone(String telephone);

    //注册会员
    public void add(Member member);

    //根据日期查询会员数量
    List<Integer> findMemberCountBeforeDate(List<String> months);

    public List<Map<String, Integer>> findMemberSexList();

    public List<Map<String, Integer>> findMemberAgeList();
}
